home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / keyb / cedwars2.zip / CEDFAK.THD < prev    next >
Text File  |  1988-09-10  |  19KB  |  421 lines

  1.     03-Dec-85  22:36:24
  2. Fm: Francis Lapeyre 70665,207
  3. To: All
  4.  
  5. Volume 4, No. 26 of PC Magazine just arrived, and had the answer to my software
  6. problems: KEY-FAKE.COM.  It allows you to "fake" a program into thinking it got
  7. just a few bytes of "keyboard" input from a batch file (or elsewhere).  Problem
  8. is: (1) the BASIC program to create the .COM file is missing the last line,
  9. apparently.  (2) PC's modem (212-696-0360) rings & rings -- I set the Hayes to
  10. ATS7=60 with no answer.
  11.  
  12.     05-Dec-85  08:46:33
  13. Fm: dave rothman 70240,372
  14. To: Earle Robinson 70135,141 (X)
  15.  
  16. if irecall correctly, keyfake lets u throw certain keystrokes into programs
  17. when the programs are called...its sorta like redirecting input but the
  18. difference is that when u redirect input, the entire 'session' of keystrokes
  19. must be in the auxilliary file.  in other words, u can't redirect some input, u
  20. gotta put in everything including an exit commandto blow u back to dos.
  21.  
  22. keyfake lets u throw in some keystrokes and then gives u back command in the
  23. program u r runnning.
  24.  
  25. one reason i would like to get a copy of keyfake is for 123. u can't redirect
  26. input into 123 (plus even if u could, u wouldnt be able to do anything cuz u
  27. would have to includes a '/qy' so that u wouldnt hang).
  28.  
  29. i have a pced syn called 'load':
  30.  
  31. syn     load    'cd\123^chmod -n %1.wks^123^chmod -h %1.wks'
  32.  
  33. it lets me unprotect certain hidden 123 worksheets which contain certain
  34. sensitive financial data (i taught my girlfriend everything about the pc,
  35. except for hidden files).  unfortunately, with this setup, the one thing i
  36. still have to type when i get into 123 is '/fr%1<r>' (obviously %1 is the now
  37. unprtected file).  with keyfake, i should be able to import that char string
  38. into 123, thus having a working, totally integrated macro...dave
  39.  
  40.     05-Dec-85  21:15:46
  41. Fm: Jim McKeown 74666,511
  42. To: Earle Robinson 70135,141 (X)
  43.  
  44. I don't know exactly what KEY-FAKE does, but from the discussion it seemed to
  45. be very similar to KBSTAK.  KBSTAK was written by Jim Kyle to trap int 16 and
  46. insert characters from a buffer in response to calls to that int.  The buffer
  47. is filled from a file named in the invocation of KBSTAK.  It seems to work
  48. beautifully with one minor quibble:  it also picks up the CTRL-Z eof marker.  I
  49. have taken to using DEBUG to pull that off the file, but that is definitely
  50. inconvenient -- although it is also proper given a strict interpretation of the
  51. function of KBSTAK.
  52. jcm
  53.  
  54.     05-Dec-85  17:33:22
  55. Fm: dave rothman 70240,372
  56. To: er 70135,141 (X)
  57.  
  58. i got a copy pf keyfake and stuck it in that syn i mentioned. here it is:
  59.  
  60. syn   load   'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h %1.wks'
  61.  
  62. it basically unhides a .wks file and loads it into 123.  then when i exit, it
  63. hides it again
  64.  
  65.     06-Dec-85  16:00:39
  66. Fm: dave rothman 70240,372
  67. To: Nelson Ford 71355,470
  68.  
  69. here are a coupla other 'slick' syns:
  70.  
  71. syn    add    'nsq %1.doc^lu -u c:\doc\docfils %1.dqc^*vdel %1.d?c'
  72. syn    get    'lu -e c:\doc\docfils %1.dqc ^*nusq %1.dqc ^li %1.doc'
  73. syn    help    'lq -qfp c:\doc\docfils %1.dqc'
  74. syn    load    'cd\123^chmod -n %1.wks^keyfake "/fr%1" 13 ^123^chmod -h %1.wks'
  75. syn    cis    'call cis'
  76. syn    call    'b-off ^yam call %1^b-off'
  77.  
  78. the add, get & help all help to manage my doc files.  ie. 'help
  79. kbfix' gets it out of a packed lib and shows it to me...etc...
  80.  
  81.     07-Dec-85  12:02:20
  82. Fm: dave rothman 70240,372
  83. To: Earle Robinson 70135,141
  84.  
  85. following is that section of my script:
  86.  
  87. syn    call    'b-off ^yam call %1^b-off'
  88. syn    cis     'call cis'
  89. syn    fid     'call fid'
  90. syn    stk     'call stk'
  91. syn    hang    'call hang'
  92. syn    mci     'call mci'
  93. syn    morn    'call morn'
  94. syn    fritz   'call fritz'
  95.  
  96. by having the 'call' command and thus not having the b-on etc business
  97. repeated, i save something like 140 chars....dave
  98.  
  99.     07-Dec-85  14:32:47
  100. Fm: Dave Hoagland 72365,42
  101. To: dave rothman 70240,372 (X)
  102.  
  103.        One other approach...I disable/enable burnout in a batch file when I run
  104. YAM.  In addition, I have a couple of function keys defined in phones.t to
  105. toggle burnout on/off if I want to change while I'm in YAM.  set fx "@!burnout
  106. 0" and set fy "@!burnout 10920" (where fx & fy are the respective function
  107. keys) does it nicely.          ...DaveH
  108.  
  109.     07-Dec-85  16:00:54
  110. Fm: dave rothman 70240,372
  111. To: Dave Hoagland 72365,42 (X)
  112.  
  113. u bring up a pt that i discussed here a while ago.  i set burnout both outside
  114. yam and inside yam.  i turn it off before entering and then after dl'ing some
  115. msgs yam calls my editor:
  116.         !burnout 15000
  117.         obey "!edix /mail/cis%d" as u can c, i turn burnout back on
  118. just before calling the editor.
  119.  
  120. i do it this way cuz sometimes i interupt scripts so i know that whenever
  121. INSIDE yam, burnout is off and whenever OUTSIDE yam (either after exiting or
  122. when calling something else) burnout is on).
  123.  
  124.     07-Dec-85  17:30:59
  125. Fm: Ed Vielmetti 76174,2061
  126. To: dave rothman 70240,372
  127.  
  128. In the spirit of CED synonym collection, here's my favorites:
  129. SYN  go    cd \%1
  130. SYN  up    cd ..
  131. SYN  timer time<cr^%1 %2 %3 %4 %5^time<cr
  132. The first two are for navigating around the hard disk; the last is
  133. for benchmarking programs (the cr file contains a single carriage
  134. return and is put on a ramdisk).
  135. --Ed V, UMich
  136.  
  137.     08-Dec-85  18:47:07
  138. Fm: dave rothman 70240,372
  139. To: all
  140.  
  141. this may interest some of you.  i put together a nice little application
  142. combining these utilities: chmod, keyfake, ced, 123 & yam. the specific
  143. application may not be useful 2 u, but a generalization may.
  144.  
  145. the situation is 1 i have described previously on the sig.  i call 1 of my
  146. investment services & get quotes (NAV's) & account info (#shares).  i call &
  147. at a voice prompt, i hit the touch t1s on my phone & the voice computer @
  148. the other end 'talks' back the info.  clearly this is a pain, so i had yam
  149. do it.  the latest enhancement is that whereas i used to have 2 write down
  150. the info on a piece of paper, i can now type them back to yam which writes
  151. out a temp file that 123 will read.
  152.  
  153. now the .wks file which has the financial data is hidden, so i have a CED
  154. syn, 'load' which unhides it & throws it into 123.  keyfake lets me load it
  155. into 123 via the syn rather than having 2 type '/fr<filename>'.  the syn,
  156. 'fix', adds the ^Z if it's missing from the temp data file.  finally, there
  157. is an autostart macro in 123 (\0) which imports the tmp file.
  158. >>here are the syns:
  159. fix 'copy %1 + (026) >nul'
  160. load 'cd\123^chmod -n %1.wks^fix %1.prn^keyfake "/fr%1" 13^123^chmod -h %1.wks'
  161. >>here is yam script:
  162. fid:    speed 1200;mput "ATM2DT18005446600;\r";sleep 120
  163.         !del c:\123\fidtmp.prn
  164.         >>c:\123\fidtmp.prn
  165.         acceptl s1 "Hit <CR> when remote system is ready [(q)uit]: "
  166.         set s2 "ATDT*1*21#;\r";set s3 "Magellan_NAV: "; gosub fidsub
  167.         set s2 "ATDT*1*05#;\r";set s3 "Trend_NAV: "; gosub fidsub
  168.         set s2 "ATDT*1*40#;\r";set s3 "Mrtg_NAV: ";gosub fidsub
  169.         set s2 "ATDT*2*21*<acct num>*<pw>#;\r";set s3 "Mag_Shs:";gosub fidsub
  170.         set s2 "ATDT*2*05*<acct num>*<pw>#;\r";set s3 "Trend_Shs:";gosub fidsub
  171.         set s2 "ATDT*2*40*<acct num>*<pw>#;\r";set s3 "Mrtg_Shs:";gosub fidsub
  172.         echo "\r"
  173. hangup: close; speed 1200; putw "ATZ\r";off
  174. fidsub: mput %s2; sleep 40
  175.         obey "acceptl s1 %s3"
  176.         if is1,q echo "Quittin..." goto hangup
  177.         echo "%s1"
  178.         return            BTW, thanks to -er for a helpful yam suggestion!
  179.  
  180.     08-Dec-85  23:35:27
  181. Fm: Basil Copeland 71656,472
  182. To: dave rothman 70240,372 (X)
  183.  
  184. Thnx for the tips.  I don't use yam, but keyfake is a great enhancement for
  185. ced.  I don't like long filenames, even in syns, so I renamed keyfake to
  186. kf.com.  Had a hard time getting keyfake to work under DoubleDOS.  Found that
  187. if I loaded it in my autoexec.bat file before loading DD, it ran well in both
  188. memory partitions.  Don't know if that would hold for other multitasking
  189. environments, but thought I would pass it on.  --Basil
  190.  
  191.     09-Dec-85  09:33:15
  192. Fm: Basil Copeland 71656,472
  193. To: dave rothman 70240,372 (X)
  194.  
  195. Your msg reminded me of the one you left a couple o